<?php

namespace Portal\ContraCulturaBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Curso
 *
 * @ORM\Table(name="curso")
 * @ORM\Entity
 */
class Curso
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="descricao", type="string", length=100, precision=0, scale=0, nullable=false, unique=false)
	 */
    private $descricao;
	
    /**
     * @var integer
     *
     * @ORM\Column(name="ativo", type="integer", length=2, precision=0, scale=0, nullable=true, unique=false)
	 */
    private $ativo;
	
	public function getId() {
		return $this->id;
	}

	public function getDescricao() {
		return $this->descricao;
	}

	public function getAtivo() {
		return $this->ativo;
	}

	public function setId($id) {
		$this->id = $id;
	}

	public function setDescricao($descricao) {
		$this->descricao = $descricao;
	}

	public function setAtivo($ativo) {
		$this->ativo = $ativo;
	}	
}
